﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddCity.aspx.cs" Inherits="HNQXYJ.HN_City.AddCity" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../CSS/SimpleContent.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/public.css" rel="stylesheet" type="text/css" />     
    <style type="text/css">
        .style2
        {
            color: #FF0000;
        }
        .style1
        {
            color: #000000;
        }
        </style>
</head>
<body>
    <form id="form1" runat="server">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" height="610">
        <tr>
            <td class="rtbg" valign="top">
                <span>添加城市 &nbsp;》 </span>
            </td>
        </tr>
        <tr>
            <td class="rbg" valign="top" align="center" style="padding-top: 20px">
                <table class="dataList" cellpadding="0" cellspacing="0" width="97%">
                    <caption>
                        添加新城市</caption>
                    <tr>
                        <td class="Graybgr" width="10%">
                            城市名称：
                        </td>
                        <td class="Lightbluebg" width="90%">
                            <asp:TextBox ID="txtCityName" runat="server" CssClass="input150"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtCityName"
                                ErrorMessage="*"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="Graybgr" width="10%">
                            城市代码：
                        </td>
                        <td class="Lightbluebg" width="90%">
                            <asp:TextBox ID="txtCityCode" runat="server" CssClass="input150"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtCityCode"
                                ErrorMessage="*"></asp:RequiredFieldValidator>
                            (城市代码用汉语拼音的全拼比如：zhengzhou<span class="style2">shi</span><span class="style1"> &quot;shi&quot;不可少</span>)
                        </td>
                    </tr>
                    <tr>
                        <td class="Graybgr">
                            经&nbsp;&nbsp;&nbsp; 度：
                        </td>
                        <td class="Lightbluebg">
                            <asp:TextBox ID="txtLng" runat="server" CssClass="input150"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtLng"
                                ErrorMessage="*"></asp:RequiredFieldValidator>
                            <a href="http://dev.baidu.com/wiki/static/map/API/tool/getPoint/">拾取坐标</a>
                        </td>
                    </tr>
                    <tr>
                        <td class="Graybgr">
                            纬&nbsp;&nbsp;&nbsp; 度：
                        </td>
                        <td class="Lightbluebg">
                            <asp:TextBox ID="txtLat" runat="server" CssClass="input150"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtLat"
                                ErrorMessage="*"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tfoot>
                        <tr>
                            <td colspan="2" style="text-align: left;">
                                &nbsp;&nbsp;&nbsp;
                                <asp:ImageButton ID="reset" ImageUrl="../images/qk.gif" runat="server" OnClick="reset_Click" />
                                &nbsp;&nbsp;&nbsp;
                                <asp:ImageButton ID="add" ImageUrl="../images/xz.gif" runat="server" OnClick="add_Click"
                                    Style="height: 23px" />
                            </td>
                        </tr>
                    </tfoot>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
